package org.erp.product.infrastructure.convert;

import org.erp.product.domain.entity.RepairLog;
import org.erp.product.domain.bo.RepairLogAddBo;
import org.erp.product.domain.dto.RepairLogAddDto;
import org.erp.product.domain.vo.RepairLogVo;
import org.mapstruct.Mapper;
import org.mapstruct.Mappings;

/**
 * @author libin
 * @version 1.0
 * @description:
 * @date 2025/11/15 19:12
 **/
@Mapper(componentModel = "spring")
public interface RepairConvert {

    @Mappings(value = {})
    RepairLogAddDto boConvertDto(RepairLogAddBo repairLogAddBo);

    @Mappings(value = {})
    RepairLog dtoConvert(RepairLogAddDto repairLogAddDto);

    @Mappings(value = {})
    RepairLogVo convertVo(RepairLog repairLog);
}
